const { defineConfig } = require('@vue/cli-service')

// 代理后端服务器地址
module.exports = defineConfig({
  transpileDependencies: true,
  devServer: {
    proxy: {
      '/api': { 
        target: 'http://127.0.0.1:8000',
        changeOrigin: true,
        pathRewrite: {
          '^/api': '/fsray'
      }
      }
    }
  }
});
